home *** CD-ROM | disk | FTP | other *** search
- onClipEvent(enterFrame){
- this._y += this.yspeed;
- this._x += this.xspeed;
- if(this._y > 310)
- {
- this.temp = Math.random();
- this.speed = 5 * this.temp;
- this._y = random(10) - 10;
- this._x = random(700) - 300;
- }
- if(this._x > 410)
- {
- this.temp = Math.random();
- this.speed = 5 * this.temp;
- this._y = random(10) - 10;
- this._x = random(600) - 200;
- }
- }
-